package Controller;

import java.awt.Point;

import Model.ModelFrameMain;
import Model.ModelPanelStartMenu;

public class ControllerStartMenu extends AbstractController {

	public void buttonPressedSinglePlayer() {
		setModelProperty("SelectedMapIndex", 0);
		setModelProperty("ScreenID", ModelPanelStartMenu.SCREEN_ID_LEVEL);
	}

	public void buttonPressedMultiPlayers() {

	}

	public void buttonPressedOptions() {

	}

	public void buttonPressedExit() {
		setModelProperty("Exit",0);
	}

	public void buttonPressedReturnToMenu() {
		setModelProperty("ScreenID", ModelPanelStartMenu.SCREEN_ID_BASIC);
	}

	public void buttonPressedGameStart() {
		setModelProperty("PanelID", ModelFrameMain.PANEL_ID_GAME);
	}

	public void selectMapShiftRight(Integer currentlySelectedMapIndex) {
		setModelProperty("SelectedMapIndex", currentlySelectedMapIndex + 1);
	}

	public void selectMapShiftLeft(Integer currentlySelectedMapIndex) {
		setModelProperty("SelectedMapIndex", currentlySelectedMapIndex - 1);
	}

	public void mouseMoved(Point mousePosition) {
		setModelProperty("MousePosition", mousePosition);
	}
}
